package com.jiarong.service.impl;

import com.jiarong.repository.UserDao;
import com.jiarong.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 24446
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public void save() {
        System.out.println("我是service，我会调用dao的方法");
        userDao.save();
    }
}
